module.exports = {
  lintOnSave: false,
  devServer: {
    // host:'192.168.2.102',
    // disableHostCheck: true,
    proxy: {
      '/api': {
        target: 'https://api.weixin.qq.com',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      },
      '/img': {
        target: 'https://cos.ap-shanghai.myqcloud.com',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/img': ''
        }
      }
    }
  }
}

